/*
 ============================================================================
 Name		: NiFramework.pan
 Author	  : nmj
 Copyright   : Your copyright notice
 Description : This file contains panic codes.
 ============================================================================
 */

#ifndef __NIFRAMEWORK_PAN__
#define __NIFRAMEWORK_PAN__

/** NiFramework application panic codes */
enum TNiFrameworkPanics
	{
	ENiFrameworkUi = 1
	// add further panics here
	};

inline void Panic(TNiFrameworkPanics aReason)
	{
	_LIT(applicationName, "NiFramework");
	User::Panic(applicationName, aReason);
	}

#endif // __NIFRAMEWORK_PAN__
